<!DOCTYPE html>
<script>
if (window.testRunner) {
  testRunner.waitUntilDone();
  testRunner.dumpAsText();
}
window.onload = function() {
    // Give the animation synchronization some time to run.
    setTimeout(function() {
        if (window.testRunner)
            testRunner.notifyDone();
    }, 50);
};
</script>
<!-- PASS if no crash. May require ASan or similar. -->
<p>PASS</p>
<svg xmlns="http://www.w3.org/2000/svg">
  <discard begin="0.01s; foo.end"></discard>
</svg>
